<!-- 我的表格 -->

<template>
  <WebTable>
    <RowIndex />

    <RowTitle :label="`${MAP.WORD}单号`" bind="changeCode" :minWidth="120" />

    <RowDate :label="`${MAP.WORD}时间`" bind="changeTime" />

    <RowTree :label="`${MAP.WORD}${CORE.MAP.ORGAN}`" bind="applicantDeptId" :dict="CORE.ORGAN.DICT" :minWidth="120" />

    <RowText :label="`${MAP.WORD}人`" bind="applicantName" />

    <RowDict :label="`${MAP.WORD}方式`" bind="handleType" :dict="CORE.DICT.disposal_type_code" />

    <RowText label="备注" bind="remark" :minWidth="160" />

    <RowStatus bind="changeStatus" />

    <RowOperate>
      <template #default="{ row }">
        <BtnText title="查看" @click="openDetail(row)" />
        <BtnText v-if="row.changeStatus === 1" :title="MAP.audit" @click="openAudit(row)" />
      </template>
    </RowOperate>

    <DetailDeal v-model="easyVisible" :id="row.id" @change="startList" />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import MyTable from '../../ChangeBorrow/MyTable'

// ============================== 导出组件 ============================== //

export default CORE.extend(MyTable)
</script>
